
ambientfear.enable = minetest.settings:get_bool('ambientfear.enable') or true
ambientfear.baseconfig={
    light_upper = minetest.settings:get('ambientfear.light.upper') or 13,
    light_lower = minetest.settings:get('ambientfear.light.lower') or 3,
    light_upperdamage = minetest.settings:get('ambientfear.light.upperdamage') or 2,
    light_lowerdamage = minetest.settings:get('ambientfear.light.lowerdamage') or 2,
    light_actualdamage = minetest.settings:get('ambientfear.light.actualdamage') or 0,
    light_recoverdamage = minetest.settings:get('ambientfear.light.recoverdamage') or 2,
    temperature_upper = minetest.settings:get('ambientfear.temperature.upper') or 75,
    temperature_lower = minetest.settings:get('ambientfear.temperature.lower') or 25,
    temperature_upperdamage = minetest.settings:get('ambientfear.temperature.upperdamage') or 2,
    temperature_lowerdamage = minetest.settings:get('ambientfear.temperature.lowerdamage') or 2,
    temperature_actualdamage = minetest.settings:get('ambientfear.temperature.actualdamage') or 0,
    temperature_recoverdamage = minetest.settings:get('ambientfear.temperature.recoverdamage') or 2,
    }

ambientfear.has_3darmor=false
if (minetest.get_modpath("ambientfear")) then
    ambientfear.has_3darmor=true
end
